package com.jiyinit.web.core.business.dto;

import com.jiyinit.web.core.common.dto.PageRequest;
import org.hibernate.validator.constraints.NotBlank;

public class MChatRequest extends PageRequest {
    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    /**
     * 应用编号，1简单任务，2为m2
     */
    private String appId;
    /**
     * 用户编号
     */
    @NotBlank(message = "用户编号不能为空")
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFriendId() {
        return friendId;
    }

    public void setFriendId(String friendId) {
        this.friendId = friendId;
    }

    public String getAlreadyLoadedTime() {
        return alreadyLoadedTime;
    }

    public void setAlreadyLoadedTime(String alreadyLoadedTime) {
        this.alreadyLoadedTime = alreadyLoadedTime;
    }

    /**
     * 聊天对方用户编号
     */

    private String friendId;

    /**
     * 已经加载过的时间
     */
    private String alreadyLoadedTime;

    /**
     * 签名，鉴权时使用
     */
    private String sign;

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    /**
     * token，鉴权时使用
     */
    private String token;

    private String groupIdstr;

    public String getGroupIdstr() {
        return groupIdstr;
    }

    public void setGroupIdstr(String groupIdstr) {
        this.groupIdstr = groupIdstr;
    }

    /**
     * 群组ID
     */
    private Integer groupId;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * 消息类型
     */
    public Integer msgType;

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }
}
